{include file="header.tpl"}
{literal}
<script type="text/javascript">
    var checkPrice = function(el) {
        if (isNaN(el.val())) {
            if (isNaN(parseFloat(el.val()))) {
                el.val('');
            } else {
                el.val(parseFloat(el.val()));
            }
        }
    }
</script>
{/literal}
<div style="background-color: #F1F5FE; width: 100%;height:55px; text-align: center;font-size: 1.8em;line-height: 55px; margin-bottom: 2%;">アカウント編集</div>
{nocache}
    {if $error|@count gt 0}
        {foreach from=$error item=val}
        <div class="error">{$val}</div>
        {/foreach}
    {/if}
    {if $save}
        <ul class="form-notices">
            <li>Your changes have been saved.</li>
        </ul>
    {/if}
<form method='POST' name='create' id="create" enctype="multipart/form-data">
    <table cellpadding='0' cellspacing='0' style='margin-left: 0px;' width="100%">
        <tr>
            <td class='form1'>Ｅメール: <span class="required">*</span></td>
            <td class='form2'><input type='email' class='text' name='email' id='email' value="{$email}" maxlength='70' style="height:26px; width: 351px;"><div id="email_error"class="error"></div></td>
        </tr>
        <tr>
            <td class='form1'>パスワード: <span class="required">*</span></td>
            <td class='form2'><input type='password' class='text' name='password' id='password' value="{$password}" size='25' style="height:26px; width: 351px;"></td>
        </tr>
        <tr>
            <td class='form1'>パスワード確認: <span class="required">*</span></td>
            <td class='form2'><input type='password' class='text' name='confirm_password' id='confirm_password' value="{$confirm_password}" size='25'  style="height:26px; width: 351px;"><div id="confirm_password_error"class="error"></div></td>
        </tr>
        <tr>
            <td class='form1'>ユーザー: <span class="required">*</span></td>
            <td class='form2'><input type='text' class='text' name='username' id='username' value="{$username}"   style="height:26px; width: 351px;"><div id="username_error"class="error"></div></td>
        </tr>
        <tr>
            <td class='form1'>名前: <span class="required">*</span></td>
            <td class='form2'><input type='text' class='text' name='firstname' id='firstname' value="{$firstname}"  style="height:26px; width: 351px;"></td>
        </tr>
        <tr>
            <td class='form1'>名字: <span class="required">*</span></td>
            <td class='form2'><input type='text' class='text' name='lastname' id='lastname' value="{$lastname}"   style="height:26px; width: 351px;"></td>
        </tr>
        <tr>
            <td class='form1'>番地: </td>
            <td class='form2'><input type='text' class='text' name='address' id='address' value="{$address}" style="height:26px; width: 351px;"><div id="address_error"class="error"></div></td>
        </tr>

        <tr>
            <td class='form1'>携帯電話: </td>
            <td class='form2'><input type='text' class='text' name='phone' id='phone' value="{$phone}"   style="height:26px; width: 351px;"></td>
        </tr>
<!--        <tr>
            <td class='form1'>性別: </td>
            <td class='form2'>
                <select id="gender"name="gender" style="height:26px; width: 351px;">
                    <option value="male"{if $gender eq "male"}selected{/if}>男性</option>
                    <option value="female"{if $gender eq "female"}selected{/if}>女性</option>
                    <option value="other"{if $gender eq "other"}selected{/if}>その他</option>
                </select>
            </td>
        </tr>
        <tr>
            <td class='form1'>生年月日: </td>
            <td class='form2'><input type='date' name='birthday' id='birthday'  value="{$birthday}"  style="height:26px; width: 351px;"></td>
        </tr>-->
        <tr>
            <td class='form1'>グループ: </td>
            <td class='form2'>
                <select id="type" name="type" style="height:26px; width: 351px;">
                    <option value="1">Ambition</option>
                    <option value="2">鍵交換業者</option>
                    <option value="3">立会内装業者</option>                                                  
                </select>
            </td>
        </tr>
        <tr>
            <td class='form1'>&nbsp;</td>
            <td class='form2'>
                <div style="margin-top:10px">
                    <input type='submit' class='btn-signup' value='サインアップ' id="submit" name="submit"/>&nbsp;                     
                </div>
            </td>
        </tr>

    </table>
</form>
{/nocache}
{include file ="footer.tpl"}